package ma.ensao.egicom.dao.interfaces;

import java.util.List;

import ma.ensao.egicom.core.model.Category;

public interface CategoryDAO {

    public void save(Category transientInstance);
    public void delete(Category persistentInstance);

    public Category findById(java.lang.Integer id); 

    public List findByProperty(String propertyName, Object value);

    public List findById(Object id);

    public List findByName(Object name);

    public List findByDescription(Object description);

    public List findAll();
 
}
